Skip to content

fix: Adding a hardcoded createdBy parameter to the deploy.yml file to prevent validation pipeline failures caused by the deployer function in the Bicep file.#448

Merged
Roopan-Microsoft merged 1 commit into
devfrom
psl-addcreatedbyparaminyml
Sep 5, 2025
Merged

fix: Adding a hardcoded createdBy parameter to the deploy.yml file to prevent validation pipeline failures caused by the deployer function in the Bicep file.#448
Roopan-Microsoft merged 1 commit into
devfrom
psl-addcreatedbyparaminyml

Conversation

@NirajC-Microsoft

@NirajC-Microsoft NirajC-Microsoft commented Sep 5, 2025

Copy link
Copy Markdown
Contributor

Purpose

This pull request introduces a small but important improvement to how resource tags are set during deployment. The main change is to make the "CreatedBy" tag more flexible and allow it to be set via a parameter, rather than always deriving it from the deployer’s principal name.

Tagging improvements:

  • Added a new createdBy parameter to infra/main.bicep, allowing the "CreatedBy" tag to be explicitly set or default to the deployer's username if not provided.
  • Updated the deployment workflow in .github/workflows/deploy.yml to pass a createdBy="Pipeline" value when running deployments, ensuring resources created by the pipeline are tagged accordingly.
  • ...

Does this introduce a breaking change?

  • Yes
  • No

How to Test

  • Get the code
git clone [repo-address]
cd [repo-name]
git checkout [branch-name]
npm install
  • Test the code

What to Check

Verify that the following are valid

  • ...

Other Information

…ent validation pipeline failures caused by the deployer function in the Bicep file.
@Roopan-Microsoft Roopan-Microsoft merged commit 952ac52 into dev Sep 5, 2025
8 checks passed
@Roopan-Microsoft Roopan-Microsoft deleted the psl-addcreatedbyparaminyml branch September 5, 2025 11:40
@github-actions

Copy link
Copy Markdown

🎉 This PR is included in version 2.2.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

deepammi pushed a commit to deepammi/Multi-Agent-Custom-Automation-Engine-Solution-Accelerator that referenced this pull request Dec 7, 2025
…inyml

fix: Adding a hardcoded createdBy parameter to the deploy.yml file to prevent validation pipeline failures caused by the deployer function in the Bicep file.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants